package com.woody.aggregate.application.service.contract;

import com.woody.aggregate.contract.dto.BatchSaveContractDTO;
import com.woody.aggregate.contract.dto.ContractHaveNewVersionDTO;
import com.woody.aggregate.contract.dto.ManageListDTO;
import com.woody.aggregate.contract.dto.QueryContractDTO;
import com.woody.aggregate.contract.vo.ContractVO;
import com.woody.common.api.dto.ContractSyncDTO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @author hzy
 * @date 2025/2/24 下午1:46
 */
public interface ContractService {

    Map<String,List<ContractVO>> shopContractList(Long customerId,Integer customerTYpe);

    Boolean haveNewVersion(ContractHaveNewVersionDTO dto);

    List<ContractVO> manageList(ManageListDTO dto);

    void contractSync(ContractSyncDTO dto);

    void batchSaveContract(BatchSaveContractDTO dto);

    ContractVO queryContract(QueryContractDTO dto);
}
